
.dashboard{
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

.dashboard__sidebar{
    position: sticky;
    top: 20px;
    height: fit-content;
}

.dashboard__list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dashboard__list-item{
    width: 100%;
}



.dashboard__list-link{
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 18px;
    border-radius: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: 0.2s;
}

.dashboard__list-link:hover{
    background: var(--color-accent-soft);
}

.dashboard__list-link.active{
    background: var(--color-accent);
    color: #fff;
}

.dashboard__list-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    cursor: pointer;
}


.dashboard__list-link{
  width: 100%;
  height: 100%;
}


.dashboard__link-title{
    font-size: 16px;
    font-weight: 600;
}

.dashboard__link-descr{
    font-size: 13px;
    color: var(--color-text-light);
}

@media (max-width: 768px){
    .dashboard{
        grid-template-columns: 1fr;
    }

    .dashboard__sidebar{
        position: static;
    }

    .dashboard__list{
        flex-direction: row;
        overflow-x: auto;
    }

    .dashboard__list-link{
        min-width: 180px;
    }
}